<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>客房用品</title>
    <link rel="stylesheet" href="css/drawer.css">
    <!-- menu -->
    <link rel="stylesheet" href="css/aui.css">
    <link rel="stylesheet" href="css/weui.css">
    <link rel="stylesheet" href="css/qr_base.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/style.css">
    <script src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/iscroll.js"></script>
    <!-- menu -->
    <script type="text/javascript" src="js/jquery.drawer.min.js"></script>
    <!-- menu -->
    <script type="text/javascript" src="js/js.js"></script>
    <!-- 网站js -->
</head>
<style type="text/css">
    body {
        background-color: #2a2f3d;
    }


    /* 商品 */

    .dingdan {
        width: 100%;
        padding: 10px;
        border-bottom: 1px solid #464c60;
    }

    .dingdan dt {
        display: table-cell;
        min-width: 60px;
        height: 60px;
        overflow: hidden;
        border: 1px solid #464c60;
        vertical-align: middle;
        text-align: center;
    }

    .dingdan dt img {
        height: 100%;
    }

    .dingdan dd {
        display: table-cell;
        width: 100%;
        padding-left: 15px;
        padding-top: 9px;
        color: #bfbfbf;
    }

    .dingdan div.jiajian {
        display: table;
        min-width: 85px;
        height: auto;
        float: right;
        margin-top: -44.5px;
    }

    .dingdan div.jiajian span {
        display: inline-block;
        line-height: 25px;
    }

    .dingdan div.jiajian .icons {
        width: 25px;
        height: 25px;
        text-align: center;
        background-color: #e0b561;
        border: 1px solid rgba(224, 181, 97, .3);
        border-radius: 50%;
    }

    .dingdan div.jiajian .num {
        width: 26px;
        padding: 0 2px;
        color: #fff;
        text-align: center;
    }

    .dingdan dd span {
        display: block;
    }


    /* 操作按钮 */

    .jibenziliaobot {
        background-color: #2c3144;
    }

    .border-t {
        border-top: 1px solid #464c60;
    }

    .jibenziliaobot a {
        width: 100%;
        color: #2c3144;
    }
</style>

<body ontouchstart="" class="drawer drawer-right">
<div class="viewport">
    <header class="aui-bar aui-bar-nav">
        <a class="aui-pull-left" href="javascript:history.back();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">客房用品</div>
        <a class="aui-pull-right  drawer-toggle">
            <span class="aui-iconfont aui-icon-sort"></span>
        </a>
    </header>
    <!-- 侧边导航开始 -->
    <div class="drawer-main drawer-default">
        <nav class="drawer-nav" role="navigation">
            <!-- 未登录 -->
            <div id="div_noLogin" class="touxiang">
                <a href="login.html" class="touxiangimg"><img src="images/touxiang.png" width="100%"></a>
                <span><a href="login.html">登录</a><a href="register.html">注册</a></span>
            </div>
            <!-- 登录后 -->
            <div id="div_okLogin" class="touxiang" style="display:none;">
                <a href="userCenter.html" class="touxiangimg"><img src="images/touxiang.png" width="100%"></a>
                <span>jack</span>
                <span>黄金会员</span>
            </div>
            <ul class="drawer-nav-list">
                <li><a href="userIndex.html"><i class="menuicon1"></i>会员中心</a></li>
                <li><a href="dfZhitongcheInfo.html"><i class="menuicon2"></i>订房直通车</a></li>
                <li><a href="cyYongcanFangshi.html"><i class="menuicon3"></i>餐饮定制</a></li>
                <li><a href="kfFuwu.html"><i class="menuicon4"></i>客房服务</a></li>
                <li><a href="lbFuwu.html"><i class="menuicon5"></i>礼宾服务</a></li>
                <li><a href="kfyanzhu.html"><i class="menuicon6"></i>客房延住</a></li>
                <li><a href="ksTuifang.html"><i class="menuicon7"></i>快速退房</a></li>
                <li><a href="dnDaohang.html"><i class="menuicon8"></i>店内导航</a></li>
                <li><a href="jdList.html"><i class="menuicon9"></i>周边信息</a></li>
                <li><a href="sdJiabinhui.html"><i class="menuicon10"></i>首都嘉宾会</a></li>
                <li><a href="userJifenShangcheng.html"><i class="menuicon11"></i>积分商城</a></li>
            </ul>
        </nav>
    </div>
    <!-- 侧边导航结束 -->
    <div class="shangpinbox">
        <dl class="dingdan">
            <dt><img src="images/zujie1.jpg" /></dt>
            <dd>
                <span>冰桶</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(0);"></span><!-- 参数传id -->
                <span class="num num0">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(0);"></span><!-- 参数传id -->
            </div>
        </dl>
        <dl class="dingdan">
            <dt><img src="images/zujie2.jpg" /></dt>
            <dd>
                <span>热水壶</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(1);"></span><!-- 参数传id -->
                <span class="num num1">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(1);"></span><!-- 参数传id -->
            </div>
        </dl>
        <dl class="dingdan">
            <dt><img src="images/taideng.jpg" /></dt>
            <dd>
                <span>台灯</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(2);"></span><!-- 参数传id -->
                <span class="num num2">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(2);"></span><!-- 参数传id -->
            </div>
        </dl>
        <dl class="dingdan">
            <dt><img src="images/naozhong.jpg" /></dt>
            <dd>
                <span>闹钟</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(3);"></span><!-- 参数传id -->
                <span class="num num3">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(3);"></span><!-- 参数传id -->
            </div>
        </dl>
        <dl class="dingdan">
            <dt><img src="images/hongmuyijia.jpg" /></dt>
            <dd>
                <span>红木衣架</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(4);"></span><!-- 参数传id -->
                <span class="num num4">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(4);"></span><!-- 参数传id -->
            </div>
        </dl>
        <dl class="dingdan">
            <dt><img src="images/bangcheng.jpg" /></dt>
            <dd>
                <span>磅秤</span>

            </dd>
            <div class="jiajian ar">
                <span class="aui-iconfont aui-icon-move icons" onclick="sub(5);"></span><!-- 参数传id -->
                <span class="num num5">0</span><!-- num参数传id -->
                <span class="aui-iconfont aui-icon-add icons" onclick="add(5);"></span><!-- 参数传id -->
            </div>
        </dl>
    </div>
    <!-- 操作容器 -->
    <div class="padbottom"></div>
    <div class="bottomcaozuo border-t jibenziliaobot">
        <a href="success.html" class="aui-btn aui-btn-primary zongsebg fr">确定Determine</a>
    </div>
</div>
<script type="text/javascript">
    //数量递减
    function sub(id){
        $(".num"+id).html(parseInt($(".num"+id).html())-1);
        if($(".num"+id).html()<=1){
            $(".num"+id).html(0);
        }
    }
    //数量递增
    function add(id){
        $(".num"+id).html(parseInt($(".num"+id).html())+1);
    }
</script>
<script type="text/javascript" src="scripts/app.js"></script>
<script type="text/javascript" src="scripts/kfyongpin.js"></script>
</body>

</html>
